﻿<Window x:Class="TV_Organizer.CollectionEditorWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:tvofs="clr-namespace:TV_Organizer.FileScanner"
        xmlns:tvop="clr-namespace:TV_Organizer.Properties"
        xmlns:mwc="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit.Extended"
        Title="Edit collection" MinHeight="300" MinWidth="300" SizeToContent="WidthAndHeight" WindowStartupLocation="CenterScreen">
  <Grid>
    <Grid.RowDefinitions>
      <RowDefinition Height="*" />
      <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
      <ColumnDefinition />
      <ColumnDefinition />
    </Grid.ColumnDefinitions>
    
    <mwc:CollectionEditor Grid.ColumnSpan="2" Name="CollectionEditor" />

    <Button Grid.Row="1" Grid.Column="0" Name="OKButton" Click="OKButton_Click" IsDefault="True" Margin="5" Width="50" HorizontalAlignment="Right" VerticalAlignment="Center">OK</Button>
    <Button Grid.Row="1" Grid.Column="1" Name="CancelButton" Click="CancelButton_Click" IsCancel="True" Margin="5" Width="50" HorizontalAlignment="Left" VerticalAlignment="Center">Cancel</Button>
  </Grid>
</Window>
